package com.dragon.mmochat.model.enumType;

public enum MmochatSecondRoleType {
	未转生(0), 魔道(1), 仙道(2);

	int value;

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	MmochatSecondRoleType(int v) {
		this.value = v;
	}

	public static MmochatSecondRoleType get(int v) {
		for (MmochatSecondRoleType type : MmochatSecondRoleType.values()) {
			if (type.getValue() == v) {
				return type;
			}
		}
		return null;
	}
}
